import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import { createPinia } from 'pinia'
import { NavBar } from 'vant';
import { Grid, GridItem } from 'vant';
import { Uploader } from 'vant';
import { Search } from 'vant';
import './assets/css/index.css'
import "normalize.css"


// import Carousel from "@/components/Carousel";
// Toast
import { showToast } from 'vant';
import 'vant/es/toast/style';

// Dialog
import { showDialog } from 'vant';
import 'vant/es/dialog/style';

// Notify
import { showNotify } from 'vant';
import 'vant/es/notify/style';

// ImagePreview
import { showImagePreview } from 'vant';
import 'vant/es/image-preview/style';



import './assets/font/iconfont.css'




const store = createPinia()
const app = createApp(App)
app.use(store)
app.use(router)

app.use(NavBar);
app.use(Grid);
app.use(GridItem);
app.use(Uploader);
app.use(Search);

app.mount('#app')
